package com.five.monkey.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author 狻猊
 * @date 2021-11-23 20:44:11
 */
@Data
@Accessors(chain = true)
public class PageVo<T> implements Serializable {

    private List<T> content;

    private int pageNumber;

    private int totalPages;

    private long totalElements;

    private int pageSize;

    private int size;

    private long offset;

    private boolean last;

    private boolean first;
}
